package com.demo.jwt.domain;

/**
 * 用户类
 *
 * @author yueyang
 * @since 2021-08-03 21:09:00
 */
public class User {

  /** 用户ID */
  private Long id;

  /** 用户名 */
  private String username;

  /** 用户密码 */
  private String password;

  @Override
  public String toString() {
    return "User{"
        + "id="
        + id
        + ", username='"
        + username
        + '\''
        + ", password='"
        + password
        + '\''
        + '}';
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }
}
